{% comment %}
@param {Boolean} center
{% endcomment %}

{% if include.center %}
<ul class="list-inline text-center">
    {% else %}
    <ul class="list-inline">
        {% endif %}

        {% if site.RSS %}
        <li>
            <a href="{{ '/feed.xml' | prepend: site.baseurl }}">
            <span class="fa-stack fa-lg">
        <i class="fa fa-circle fa-stack-2x"></i>
        <i class="fa fa-rss fa-stack-1x fa-inverse"></i>
      </span>
            </a>
        </li>
        {% endif %}
        <!-- add jianshu -->
        {% if site.jianshu_username %}
        <li>
            <a target="_blank" href="https://www.jianshu.com/u/{{ site.jianshu_username }}">
                <span class="fa-stack fa-lg">
                    <i class="fa fa-circle fa-stack-2x"></i>
                    <i class="fa  fa-stack-1x fa-inverse">简</i>
                </span>
            </a>
        </li>
        {% endif %}
        <!-- add twitter -->
        {% if site.twitter_username %}
        <li>
            <a href="https://twitter.com/{{ site.twitter_username }}">
      <span class="fa-stack fa-lg">
        <i class="fa fa-circle fa-stack-2x"></i>
        <i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
      </span>
            </a>
        </li>
        {% endif %}
        <!-- add zhihu -->
        {% if site.zhihu_username %}
        <li>
            <a target="_blank" href="https://www.zhihu.com/people/{{ site.zhihu_username }}">
      <span class="fa-stack fa-lg">
        <i class="fa fa-circle fa-stack-2x"></i>
        <i class="fa  fa-stack-1x fa-inverse">知</i>
      </span>
            </a>
        </li>
        {% endif %}
        <!-- add weibo -->
        {% if site.weibo_username %}
        <li>
            <a target="_blank" href="http://weibo.com/u/{{ site.weibo_username }}">
      <span class="fa-stack fa-lg">
        <i class="fa fa-circle fa-stack-2x"></i>
        <i class="fa fa-weibo fa-stack-1x fa-inverse"></i>
      </span>
            </a>
        </li>
        {% endif %}
        <!-- add facebook -->
        {% if site.facebook_username %}
        <li>
            <a target="_blank" href="https://www.facebook.com/{{ site.facebook_username }}">
      <span class="fa-stack fa-lg">
        <i class="fa fa-circle fa-stack-2x"></i>
        <i class="fa fa-facebook fa-stack-1x fa-inverse"></i>
      </span>
            </a>
        </li>
        {% endif %}
        <!-- add github -->
        {% if site.github_username %}
        <li>
            <a target="_blank" href="https://github.com/{{ site.github_username }}">
      <span class="fa-stack fa-lg">
        <i class="fa fa-circle fa-stack-2x"></i>
        <i class="fa fa-github fa-stack-1x fa-inverse"></i>
      </span>
            </a>
        </li>
        {% endif %}
        <!-- add linkedin -->
        {% if site.linkedin_username %}
        <li>
            <a target="_blank" href="https://www.linkedin.com/in/{{ site.linkedin_username }}">
      <span class="fa-stack fa-lg">
        <i class="fa fa-circle fa-stack-2x"></i>
        <i class="fa fa-linkedin fa-stack-1x fa-inverse"></i>
      </span>
            </a>
        </li>
        {% endif %}
        <!-- add gitbook -->
        {% if site.gitbook_username %}
        <li>
            <a target="_blank" href="https://{{ site.gitbook_username }}.gitbook.io">
      <span class="fa-stack fa-lg">
        <i class="fa fa-circle fa-stack-2x"></i>
        <i class="fa fa-gitbook fa-stack-1x fa-inverse">G</i>
      </span>
            </a>
        </li>
        {% endif %}
        <!-- add gitee -->
        {% if site.gitee_username %}
        <li>
            <a target="_blank" href="https://gitee.com/{{ site.gitee_username }}">
      <span class="fa-stack fa-lg">
        <i class="fa fa-circle fa-stack-2x"></i>
        <i class="fa fa-gitbook fa-stack-1x fa-inverse">码</i>
      </span>
            </a>
        </li>
        {% endif %}
    </ul>
</ul>
